//
//  TopDelinquentCustomersViewController.h
//  CollectionManagerFlow
//
//  Created by Sophia Tsay on 5/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#define topDelinquentCustomers [NSArray arrayWithObjects:@"IBM", @"Microsoft", @"Dell", @"Apple", @"Boeing", @"Red Robin", @"Central Bank", @"Alcoa", @"El Camino Hospital", @"Bank of America", @"Cisco",  @"Yamaha",   @"Google", @"Michael's", @"Fry's", @"Safeway",nil]

#define delinquentCustomerHeaders [NSArray arrayWithObjects: @"Customer", @"Amount Overdue", @"Open Receivables", @"DSO", @"DSO Change (%)", @"Percent 91+ Delinquent", @"WADD", @"Best Possible DSO", @"True DSO", @"Percent Current", @"Sales Weighted DSO", @"Weighted Average Terms", @"Average Days Delinquent", @"Weighted Average Days Late", @"Weighted Average Days Paid", @"Score",  @"Assigned Strategy", @"Collector", nil]

//@"DSO Trend", @"Score Trend",

#define delinquentCustomerValues [NSArray arrayWithObjects:[NSArray arrayWithObjects:@"Apple Inc", @"$5,000,000", @"$7,000,000", @"49", @"15", @"15", @"34", @"49", @"49",@"49",@"49",@"49",@"49",@"49",@"49", @"54", @"Hard Call", @"John Smith", nil],[NSArray arrayWithObjects:@"AT&T", @"$3,000,000", @"$4,000,000", @"45", @"22", @"22", @"32", @"45", @"45",@"45",@"45",@"45",@"45",@"45",@"45", @"59", @"Soft Call", @"John Smith", nil],[NSArray arrayWithObjects:@"Microsoft", @"$2,000,000", @"$6,000,000", @"49", @"15", @"15", @"34", @"43", @"43",@"43",@"43",@"43",@"43",@"43",@"43", @"54", @"Hard Call", @"Mike Johnson", nil],[NSArray arrayWithObjects:@"Alcoa", @"$800,000", @"$3,000,000", @"36", @"16", @"16", @"36", @"47", @"47",@"47",@"47",@"47",@"47",@"47",@"47", @"56", @"Hard Call", @"Tara Quinn", nil],[NSArray arrayWithObjects:@"San Francisco Giants", @"$650,000", @"$750,000", @"35", @"4", @"24", @"12", @"35", @"35",@"35",@"35",@"35",@"35",@"35",@"35", @"68", @"Hard Letter", @"John Smith", nil],[NSArray arrayWithObjects:@"Red Robin", @"$500,000", @"$1,000,000", @"48", @"14", @"14", @"32", @"46", @"46",@"46",@"46",@"46",@"46",@"46",@"46", @"52", @"Soft Call", @"Pat Beasley", nil],[NSArray arrayWithObjects:@"El Camino Hospital", @"$360,000", @"$2,500,000", @"42", @"12", @"12", @"32", @"42", @"42",@"42",@"42",@"42",@"42",@"42",@"42", @"58", @"Hard Call", @"John Smith", nil],[NSArray arrayWithObjects:@"SiriusXM", @"$125,000", @"$3,500,000", @"46", @"11", @"11", @"31", @"46", @"46",@"46",@"46",@"46",@"46",@"46",@"46", @"52", @"Hard Call", @"John Smith", nil],[NSArray arrayWithObjects:@"Fry's", @"$110,000", @"$168,500", @"32", @"-8", @"38", @"16", @"32", @"32",@"32",@"32",@"32",@"32",@"32",@"32", @"67", @"Soft Call", @"Edith Bevers", nil],[NSArray arrayWithObjects:@"Computer Rentals", @"$100,000", @"$2,500,000", @"45", @"-4", @"14", @"15", @"45", @"45",@"45",@"45",@"45",@"45",@"45",@"45", @"61", @"Medium Call", @"John Smith", nil],[NSArray arrayWithObjects:@"Coke", @"$50,000", @"$4,000,000", @"40", @"-10", @"14", @"15", @"40", @"40",@"40",@"40",@"40",@"40",@"40",@"40", @"63", @"Soft Call", @"John Smith", nil],[NSArray arrayWithObjects:@"State of West Virginia", @"$20,000", @"$50,000", @"34", @"10", @"30", @"12", @"34", @"34",@"34",@"34",@"34",@"34",@"34",@"34", @"67", @"Medium Letter", @"Claudia Renner", nil],[NSArray arrayWithObjects:@"Dell, Inc.", @"$1,500", @"$2,500", @"32", @"-8", @"38", @"16", @"32", @"32",@"32",@"32",@"32",@"32",@"32",@"32", @"67", @"Soft Call", @"Edith Bevers", nil],[NSArray arrayWithObjects:@"Yamaha", @"$1,000", @"$6,500", @"20", @"-2", @"35", @"14", @"20", @"20",@"20",@"20",@"20",@"20",@"20",@"20", @"84", @"Hard Call", @"Alain DuPont", nil],[NSArray arrayWithObjects:@"Mars Candy", @"$500", @"$50,000", @"29", @"6", @"26", @"18", @"29", @"29",@"29",@"29",@"29",@"29",@"29",@"29", @"75", @"Hard Call", @"Christian Wass", nil],[NSArray arrayWithObjects:@"FedEx", @"$500", @"$2,500", @"29", @"-5", @"35", @"14", @"29", @"29",@"29",@"29",@"29",@"29",@"29",@"29", @"84", @"Hard Call", @"Alain DuPont", nil],nil]

@protocol topPopoverDelegate <NSObject>

- (void)dismissAtTap;

@end

@interface TopDelinquentCustomersViewController : UITableViewController

@property (nonatomic, assign) id<topPopoverDelegate> topPopoverDeleage;
@property (nonatomic, strong) NSString *objectType;
@end
